from xmw.db.ds import *
def get_user_by_mail(email):
	user_q=User.all()
	user_q.filter("email =",email)
	user=user_q.get()
	return user
	
if __name__ == "__main__":
	print get_user_by_mail("buckler@126.com")
		